.transfer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.transfer-list {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-radius: 8px;
  overflow: hidden;
}

/* 新增自适应宽度和文字换行样式 */
.transfer-list .ant-transfer-list {
  width: 45vw !important;
  min-width: 300px;
  max-width: 600px;
}

.ant-transfer-list-content-item {
  white-space: normal !important;
  word-break: break-word !important;
  padding: 8px 12px !important;
}

@media (max-width: 768px) {
  .transfer-list .ant-transfer-list {
    width: 90vw !important;
    margin: 0 5px !important;
  }
}

/* 增强文字可读性 */
.custom-item {
  font-size: 14px;
  line-height: 1.5;
}

.ant-transfer-list-header-title {
  font-weight: bold;
  font-size: 16px;
}

/* 美化操作按钮容器 */
.ant-transfer-operation {
  margin: 0 16px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 按钮基础样式 */
.ant-transfer-operation .ant-btn {
  width: 40px !important;
  height: 40px !important;
  padding: 8px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1px solid #1890ff !important;
  transition: all 0.3s ease;
  margin: 8px 0 !important;
}

/* 按钮悬停效果 */
.ant-transfer-operation .ant-btn:hover {
  background: #1890ff !important;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

/* 箭头图标样式 */
.ant-transfer-operation .ant-btn svg {
  width: 20px;
  height: 20px;
  color: #1890ff;
  transition: all 0.3s ease;
}

/* 悬停时箭头颜色变化 */
.ant-transfer-operation .ant-btn:hover svg {
  color: white;
}

/* 禁用状态样式 */
.ant-transfer-operation .ant-btn[disabled] {
  border-color: #d9d9d9 !important;
  background: #f5f5f5 !important;
}

.ant-transfer-operation .ant-btn[disabled] svg {
  color: #d9d9d9 !important;
}
